﻿package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SDayFirstRechargeRewardInfo extends IMessageBase
    {
        public var rechargeDay:int;
        public var rechargeNum:int;
        public var isGet:int;
        public var equipIsGet:int;
        public const _type:int = 15233;
        public static var _regist:SDayFirstRechargeRewardInfo = new SDayFirstRechargeRewardInfo(true);

        public function SDayFirstRechargeRewardInfo(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            return;
        }// end function

        override public function getType() : int
        {
            return this._type;
        }// end function

        override public function clone() : IMessageBase
        {
            return new SDayFirstRechargeRewardInfo();
        }// end function

        override public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.rechargeDay);
            param1.writeInt(this.rechargeNum);
            param1.writeInt(this.isGet);
            param1.writeInt(this.equipIsGet);
            return;
        }// end function

        override public function __read(param1:SerializeStream) : void
        {
            this.rechargeDay = param1.readInt();
            this.rechargeNum = param1.readInt();
            this.isGet = param1.readInt();
            this.equipIsGet = param1.readInt();
            return;
        }// end function

    }
}
